...removing the progressbar_fill mixin in the process.
background-image: linear-gradient(to bottom, mix($bg_color, $borders_color, 60%));
text-shadow: 0 1px transparentize(black, 0.9);
&:active {
- @include progressbar_fill;
color: white;
border-color: $selected_borders_color;
+ background-color: $selected_bg_color;
+ background-image: none;
box-shadow: _widget_edge();
text-shadow: 0 1px transparentize($selected_borders_color, 0.5),
0 0 2px transparentize(white, 0.4);
@else { box-shadow: none; }
}
-@mixin progressbar_fill($d:horizontal) {
- $dir: if($d==vertical,right,bottom);
- background-image: linear-gradient(to $dir, $selected_bg_color 2px,
- lighten($selected_bg_color, 6%));
-}
-
@function headerbar_gradient($c, $tc:lighten($c, 2%)) {
//
// headerbar gradient helper function
-GtkSwitch-slider-width: 45px;
-GtkSwitch-slider-height: 27px; }
switch:active {
- background-image: linear-gradient(to bottom, #215d9c 2px, #266cb5);
color: white;
border-color: #0f2b48;
+ background-color: #215d9c;
+ background-image: none;
box-shadow: 0 1px rgba(238, 238, 236, 0);
text-shadow: 0 1px rgba(15, 43, 72, 0.5), 0 0 2px rgba(255, 255, 255, 0.6); }
switch:insensitive {
-GtkSwitch-slider-width: 45px;
-GtkSwitch-slider-height: 27px; }
switch:active {
- background-image: linear-gradient(to bottom, #4a90d9 2px, #63a0de);
color: white;
border-color: #184472;
+ background-color: #4a90d9;
+ background-image: none;
box-shadow: 0 1px rgba(255, 255, 255, 0);
text-shadow: 0 1px rgba(24, 68, 114, 0.5), 0 0 2px rgba(255, 255, 255, 0.6); }
switch:insensitive {